preloadedView

Anybody have any idea what these do:

bool setPreloadedView(ViewDef view, string name)

string preloadedView(ViewDef view)

The help says they set or get the preloaded view name for the specified ViewDef view.

But what does that mean?

-Adam


Adamarla - Tue Oct 29 12:50:15 EDT 2013

Re: preloadedView
llandale - Tue Oct 29 14:59:53 EDT 2013

You can say your new view V2 relies on the settings of existing view V1.  Internally, "V2" is stored as "use V1 with these specific changes..".  So if you do not specify "Columns" in V2 it will get whatever columns V1 has when the view is loaded.  so if you change the columns of V1 you also change those of v2.

So create "Verification View" with a specific set of columns.  Then create "Verification Done" based on "Verifiation View" but filtering for requirements that have status "Done".  Then create "Verification Pending" filtered for those Pending.  When you adjust the columns of the original view, those changes get to the other views.

I'd guess that "preLoaded" just meand it loads the base view (without displaying it), THEN applies the loaded views differences.

-Louie

Re: preloadedView
Adamarla - Wed Oct 30 04:13:40 EDT 2013

llandale - Tue Oct 29 14:59:53 EDT 2013

You can say your new view V2 relies on the settings of existing view V1.  Internally, "V2" is stored as "use V1 with these specific changes..".  So if you do not specify "Columns" in V2 it will get whatever columns V1 has when the view is loaded.  so if you change the columns of V1 you also change those of v2.

So create "Verification View" with a specific set of columns.  Then create "Verification Done" based on "Verifiation View" but filtering for requirements that have status "Done".  Then create "Verification Pending" filtered for those Pending.  When you adjust the columns of the original view, those changes get to the other views.

I'd guess that "preLoaded" just meand it loads the base view (without displaying it), THEN applies the loaded views differences.

-Louie

OK, thanks.

I figured it was something other that inherited views as other functions acting on them are named with 'inherit'

 

canInheritView 

 

clearInvalidInheritanceOf 

 

invalidInheritedView